package com.yyk.dzvisit.model.dto.req.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: ligui
 * @Date: 2020/10/8 23:34
 */
@Data
@ToString
@ApiModel
public class UserLoginReq implements Serializable {

    private static final long serialVersionUID = 972624216374128170L;

    @NotBlank(message = "userName 不能为空")
    @ApiModelProperty(value = "userName", required = true, example = "userName")
    private String username;

    @NotBlank(message = "password 不能为空")
    @ApiModelProperty(value = "password", required = true, example = "password")
    private String password;

}